<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<p>hello spring-security</p>
<p>username: <span th:text="${username}"></span></p>
<p>password: <span th:text="${password}"></span></p>
<p>authorities: <span th:text="${authorities}"></span></p>

<form action="logout" method="post">
    <input type="submit" value="logout">
</form>
</body>
</html>